<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="../css/form.css" />
<sj:head jqueryui="true" jquerytheme="cupertino" />
<title>Thêm mới nhân viên</title>
</head>
<body>
<div id="viewDetailEmpl" align="center">
<fieldset style="width: 95%;"><legend style="">Thông
tin nhân viên</legend>
<form>
<h2><s:property
	value="employee.account.accountInformation.FullName" /></h2>
<table>
	<tr>
		<td>Tên đăng nhâp</td>
		<td><s:property value="employee.account.UserName" /></td>
	</tr>
	<tr>
		<td>Ngày sinh</td>
		<td><s:date name="employee.account.accountInformation.BirthDate"
			format="dd/MM/yyyy" /></td>
	</tr>
	<tr>
		<td>Địa chỉ</td>
		<td><s:property
			value="employee.account.accountInformation.Address" /> thành phố <s:property
			value="employee.account.accountInformation.city.CityName" /></td>
	</tr>
	<tr>
		<td>Điện thoại nhà</td>
		<td><s:property
			value="employee.account.accountInformation.HomePhone" /></td>
	</tr>
	<tr>
		<td>Di động</td>
		<td><s:property
			value="employee.account.accountInformation.Telephone" /></td>

	</tr>
	<tr>
		<td>Email</td>
		<td><s:property value="employee.account.accountInformation.Email" /></td>

	</tr>
	<tr>
		<td>Chức vụ</td>
		<td><s:property value="employee.department.DepartmentName" /></td>
	</tr>
	<tr>
		<td>Ngày vào công ty</td>
		<td><s:date name="employee.account.CreationDate"
			format="dd/MM/yyyy" /></td>
	</tr>
	<tr>
		<td>Trạng thái hoạt động</td>
		<td><s:property
			value="employee.account.statusOfAccount.Description	" /></td>
	</tr>
</table>


<!-- BUTTONS --></form>
</fieldset>
<div align="left">
<ul class="form"> 
	<li class="left">&nbsp;</li>
		<li class="right"><s:url id="Manager_listEmployee"
			value="/Manager_listEmployee" /> <sj:submit title="Danh sách nhân viên"
			id="lnkManager_listEmployee" href="%{Manager_listEmployee}"
			button="true" value="Trở về" targets="viewListEmpl" class="link"></sj:submit>
		<s:url id="Manager_viewUpdateEmployee" value="/Manager_viewUpdateEmployee?id=%{employee.EmployeeID}" /> <sj:submit
			title="Cập nhật nhân viên" id="lnkManager_viewUpdateEmployee"
			href="%{Manager_viewUpdateEmployee}" button="true" value="Cập nhật"
			targets="viewDetailEmpl" class="link"></sj:submit></li>
		<li class="clr"></li>

	</ul>
	</div>

</div>
</body>
</html>